package cn.zwx.member.svc.rpc.dto;

import lombok.Data;
import org.apache.dubbo.apidocs.annotations.RequestParam;

import javax.validation.constraints.NotBlank;
/**
 * @author zhangwenxue
 */
@Data
public class LoginDTO {

    @NotBlank(message = "验证码Id不能为空")
    @RequestParam(value = "验证码Id",required = true)
    private String captchaId;

    @NotBlank(message = "验证码不能为空")
    @RequestParam(value = "验证码",required = true)
    private  String verifyCode;


    @RequestParam(value = "手机号",required = true)
    @NotBlank(message = "手机号")
    private String mobile;

    @RequestParam(value = "密码",required = true)
    @NotBlank(message = "密码不能为空")
    private String password;

    @RequestParam(value = "登录平台PC,IOS,Android,Wechat")
    private String platform;

    @RequestParam(value = "登录ip地址")
    private String ip;


}
